<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- by Tom Short, EPRI, tshort@epri.com
(c) Copyright 2005-2006 by EPRI
 -->
  <head>
    <title>Rpad</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>

  <body>
<img src="Rpad_logo.jpg">
      <h2>Welcome to the Rpad home page</h2>

      <p>Rpad is an interactive, web-based analysis program. Rpad pages
      are interactive workbook-type sheets based on R, an open-source
      implementation of the S language. Rpad is an analysis package, a
      web-page designer, and a gui designer all wrapped in one. Rpad
      makes it easy to develop powerful data analysis applications that
      can be shared with others (most likely on an intranet). The user
      doesn't have to install anything--everything's done through a
      browser.</p>
<ul>
<li><a href="screenshot_downsized.png">Obligatory screenshot</a></li>
</ul>

<h2>New Demos</h2>

<ul>
<li><a href="DataExplorer.Rpad">Data explorer</a> -- searching, sorting,
pivot tables, and lattice graphs</li>
<li><a href="DataModeler.Rpad">Data modeler</a> -- drag and drop interface
to linear modeling</li>
<li><a href="WeatherExplorer.Rpad">Weather explorer</a> -- shows
another more custom data explorer</a></li>
</ul>

<h2>Google Code Hosting and Forum</h2>

<p>Rpad is also now hosted at Google Code. This provides a forum for
Rpad, SVN access to the development version of Rpad, and an issue
tracker. The key links are:</p>

<ul>
<li><a href="http://code.google.com/p/rpad/">Main Rpad google code page</a></li>
<li><a href="http://groups.google.com/group/Rpad">Mailing list/Forum</a></li>
<li><a href="http://rpad.googlecode.com/svn/">SVN source code repository</a></li>
</ul>

<h2>Dojo Version of Rpad</h2>

<p>The client-side code for Rpad 1.x has been re-engineered. It is based on
<a href='http://dojotoolkit.org'>Dojo</a>, a flexible javascript
toolkit. The main advantages made possible by Dojo are:</p>

<ul>
  <li>More cross platform--works on IE 6.0, FF 1.1, Konqueror 3.4.1,
  Opera 8.51, and maybe Safari (I can't test it)</li>
  <li>More interactive web pages (Dojo events) [<a href='testDojoEvents.Rpad'>Example</a>]</li>
  <li>Dojo widgets (tabs, trees, combo boxes, ...)</li>
  <li>Much cleaner client-side code (easier to customize and maintain)</li>
</ul>

<p>This new version also has a number of other improvements:</p>

<ul>
  <li>Easier HTML code generation utilities within R [<a href='fancyDojoWidgets.Rpad'>Example</a>].</li>
  <li>The builtin mini webserver has been re-written. This reduces
  lockups of the server.</li>
  <li>For now, the default is not to have editable pages. This makes
  Rpad pages the most cross platform and bulletproof (bugfree). There
  is a new GUI that allows the user to change the page; it works on
  IE, Firefox, and others. Try it <a href='testRpadGui2.Rpad'>here</a>
  (somewhat broken right now -- still needs some work).</li>
</ul>

<p>	The old client code is
	still present, so old pages *should* work without change (<a href='Example1OldStyle.Rpad'>example</a>). See <a
	href="BasicDocumentation.html">here</a> for a list of changes needed
	for new pages.
</p>

<h2>How to Run Rpad</h2>

<p>Rpad can be set up with a webserver like Apache, or Rpad can be run
locally using a built-in webserver. Install Rpad as an R package. Run
it locally or install it on a server. To run it locally after
installing the Rpad package into R [install.packages("Rpad")], just
use the following to start Rpad from within R:
</p> 

<pre>library(Rpad) 
Rpad()</pre>

<p> This runs a mini webserver and launches your browser to an Rpad
startup page. This version can also be installed
server-style with Apache (tested on windows and linux) or another server.
</p>


      <h2>Demonstrations</h2>

Electric power utility reliability tools
<ul>
<li><a href="WeatherExplorer.Rpad">Weather Explorer</a> -- Explore relationships between
weather station data and reliability indices (used by the IEEE
Distribution Subcommittee's Task
Force on weather normalization)</li>
<li><a href="WeatherModeling.Rpad">Weather Modeling</a> -- Models of weather impacts on reliability</li>
<li><a href="saifi_saidi_forecasts.Rpad">End-of-year SAIFI & SAIDI forecasts</a></li>
<li><a href="Interruptions.Rpad">System-wide interruption summaries</a></li>
<li><a href="InterruptionHistory.Rpad">Feeder interruption history
search</a></li>
<li><a href="InterruptionMap.Rpad">Feeder mapping of interruptions </a></li>
</ul>
Electric power examples
<ul>
<li><a href="Impedances.Rpad">Overhead line impedance calculator</a></li>
<li><a href="StrayVoltage.Rpad">Stray voltage calculator</a></li>
<li><a href="flickercalc.Rpad">Wind turbine flicker calculations</a></li>
</ul>
General Rpad examples
<ul>
<li><a href="Example1.Rpad">General Example</a>: shows a range of Rpad
features</li>
<li><a href="InputExamples.Rpad">Data Input Example</a>: shows file
uploads and input boxes</li>
<li><a href="GuiExamples.Rpad">GUI Examples</a>: input boxes, server
selects, radio buttons, and so on</li>
<li><a href="imagemap.Rpad">Imagemap</a>: Shows interactive imagemaps</li>
<li><a href="mapdemo.Rpad">Mapping</a>: Highlight areas of a map</li>
</ul>
R helpers
<ul>
<li><a href="SearchRKeywords.Rpad">R function/object search</a>:
search keywords, show online help, interactively run help examples</li>
</ul>


      <h2>Documentation</h2>

<ul><li><a href="BasicDocumentation.html">Basic usage and installation
documentation</a></li></ul>
<ul><li><a href="Rpad-refcard.pdf">Rpad &amp; R reference card</a>: a 4-page
quick reference of common functions. Also available is a <a href="R-refcard.pdf">reference card</a> just
for R. <a href="R-refcard-sources.zip">[sources for both]</a></li></ul>

      <h2>Download</h2>

<p>Rpad is available at <a
href="http://cran.r-project.org/src/contrib/Descriptions/Rpad.html">CRAN</a>
or here:</p>

<ul><li><a href="../downloads/Rpad_1.3.0.tar.gz">Rpad 1.3.0.tar.gz
package source</a></li>
<li><a href="../downloads/Rpad_1.3.0.zip">Rpad 1.3.0.zip windows binary package</a></li>
</ul>

<p>Debian packages that include the local and server versions 
(the easiest way to install the server version of Rpad): </p>

<ul><li><a href="../downloads/rpad_1.3.0_all.deb">Rpad</a></li></ul>

<p>Older versions: <a href="../downloads/">Downloads</a></p>

<p>Rpad is also available in Dirk Eddelbuettel's <a
href="http://dirk.eddelbuettel.com/quantian.html">Quantian</a>
bootable live-DVD distribution.</p>

      <h2>Author</h2>

<p>Rpad was created and implemented by <a href="mailto:tshort@epri.com">Tom
Short</a> of EPRI who also currently maintains Rpad. Tom is also the author of
the <a href="http://www.crcpress.com/shopping_cart/products/product_detail.asp?sku=1791">Electric Power Distribution Handbook</a> by CRC
Press. Many of the graphs and analysis done for this handbook were done
in R.</p>


<p>Rpad is supported by <a href="http://www.epri.com">EPRI</a>, the
Electric Power Research Institute. EPRI
is using Rpad to offer engineering, information, and database
solutions to electric utilities. </p>

      <h2>Acknowledgements and Background</h2>

      <p>Rpad brings together several powerful open-source technologies, specifically:</p>

      <ul>
        <li><a title="R homepage" href="http://www.r-project.org/"
        >R</a> -- R is a powerful
        processing environment based on the S language. R's strengths
        are graphics, data analysis, and flexibility. R offers advanced
        types of graphs, extreme flexibility, and precise, good-looking
        results. R offers sophisticated file manipulation capabilities,
        access to external databases, and many many data processing and
        statistical functions. The S language itself is very flexible,
        powerful, and extendible. Over 350 add-on packages are
        available at <a href=
        "http://cran.r-project.org/">CRAN</a>.</li>

        <li><a title="Mozile homepage" href='http://mozile.mozdev.org'>Mozile</a> -- This adds
        the contentEditable feature to Mozilla and Mozilla Firefox, so
        the user can edit Rpad pages. Add or modify tables, change
        formatting, or add documentation along with code -- Mozile
        makes this all possible. </li>

        <li><a
        title="Statistics-R homepage" href=
        "http://search.cpan.org/~gmpassos/Statistics-R-0.02/">Statistics-R-0.02</a>
        -- A slightly modified version of Graciliano M. P.'s perl application
        does the hard work of communicating between the server and
        multiple instances of R.</li>

        <li><a title="Apache" href="http://www.apache.org/"
        >Apache</a> 
        and (optionally) <a title="Mod perl" href="http://perl.apache.org/"
        >mod_perl</a> -- A server is a
        requirement. Other servers might work, but this combination is
        easy to get going.</li>

        <li><a title="R2HTML" href="http://www.stat.ucl.ac.be/R2HTML/" >R2HTML</a> [<a title="R2HTML" href="http://cran.r-project.org/src/contrib/Descriptions/R2HTML.html" >cran</a>] -- Eric Lecoutre's R package provides
         HTML output for R scripts, including nicely formated table
        display of data frames. </li>
      </ul>

      <p>All of these programs are <em>free and open source</em>. That means
      that you can change them, and they are freely
      redistributable.</p>

      <h2>Rpad License</h2>


      <p>Rpad is free and open source software. The components of Rpad have different licenses. Different licenses for different
      parts were chosen to be most compatible with the portions of
      code that they extend. For the most part, the code follows the
      following licenses:

      <ul>
        <li>R code and Rpad pages -- GNU GPL license</li>

        <li>browser javascript code and server-side perl code -- BSD-type license</li>
      </ul>

<br><br><br><br>
<a href="http://www.epri.com"><img src="RGB-master-epriweb.gif"></a> <sub>&nbsp;&nbsp;by Tom Short, tshort@epri.com, Copyright 2004-2006
EPRI</sub>
  </body>
</html>

